package com.letoken.platform.repo.admin.req.config;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author wyl
 * @date 2022/12/10
 */
@Data
@ApiModel(value = "修改用户指南请求对象", description = "修改用户指南请求对象")
public class UpdateGuideReq {

    @NotNull(message = "编号不能为空！")
    @ApiModelProperty(name = "id", value = "编号")
    private Long id;

    @ApiModelProperty(name = "cate", value = "分类")
    private Integer cate;

    @ApiModelProperty(name = "title", value = "标题")
    private String title;

    @ApiModelProperty(name = "imgUrl", value = "封面图片")
    private String imgUrl;

    @ApiModelProperty(name = "content", value = "公告内容")
    private String content;

    @ApiModelProperty(name = "sort", value = "排序")
    private Integer sort;


}
